package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.SendMsgLogBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface SendMsgLogService extends BaseService<SendMsgLogBean> {

	SendMsgLogBean getSendMsgLogBeanById(String id) throws Exception;
	
	void removeSendMsgLogBeanById(String id) throws Exception;
	
	void removeSendMsgLogBeanByIds(String ids) throws Exception;
	
	SendMsgLogBean saveSendMsgLogBean(SendMsgLogBean crm) throws Exception;
	
	SendMsgLogBean updateSendMsgLogBean(SendMsgLogBean crm) throws Exception;
	
	Page<SendMsgLogBean>  findSendMsgLogBeanByCond(SendMsgLogBean bean,
			Page<SendMsgLogBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveSendMsgLogBeanExt(String sql) throws Exception;

	String findSendMsgLogBeanExtCreate(String tableName) throws Exception;

	String findSendMsgLogBeanExtEdit(String tableName, String id)
			throws Exception;

	String findSendMsgLogBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasSendMsgLogBeanExtData(String tableName, String id)
			throws Exception;
}